package com.food.user.form;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;


@Data
@ApiModel("评价订单参数对象")
public class CommentOrderForm {



    @NotNull
    @ApiModelProperty("订单编号")
    private String commentInfoOrderNum;

    @NotNull
    @Min(0)
    @Max(5)
    @ApiModelProperty("商铺评分")
    private Integer commentInfoStoreScore;

    @NotNull
    @Min(0)
    @Max(5)
    @ApiModelProperty("菜品评分")
    private Integer commentInfoDishesScore;

    @NotNull
    @Min(0)
    @Max(5)
    @ApiModelProperty("配送评分")
    private Integer commentInfoDphScore;

    @NotNull
    @ApiModelProperty("评价内容")
    private String commentInfoContent;

    @NotNull
    @ApiModelProperty("用户头像")
    private String commentInfoUserPhoto;



    @ApiModelProperty("评论图片")
    private String picture;

}
